package es.ats.codington.festival.domain;

/**
 * The Class Place.
 */
public class Place {
	
/** The name. */
private String name;

/** The address. */
private String address;

/** The capacity. */
private int capacity;

/** The town. */
private String town;

/** The description. */
private String description;

/** The i dplace. */
private int iDplace;

/** The type. */
private String type;

//Constructors

/**
 * Instantiates a new place.
 *
 * @param name the name
 * @param address the address
 * @param capacity the capacity
 * @param town the town
 * @param description the description
 * @param type the type
 */
public Place(String name, String address, int capacity, String town,
		String description, String type) {
	super();
	this.name = name;
	this.address = address;
	this.capacity = capacity;
	this.town = town;
	this.description = description;
	this.type = type;

}

/**
 * Default Constructor.
 */
public Place() {
	super();
}


//Getters and Setters

/**
 *  This method obtain the name.
 *
 * @return name
 */
public String getName() {
	return name;
}

/**
 *  This method changes the name.
 *
 * @param name the new name
 */
public void setName(String name) {
	this.name = name;
}

/**
 *  This method obtain the address.
 *
 * @return address
 */
public String getAddress() {
	return address;
}

/**
 *  This method changes the address.
 *
 * @param address the new address
 */
public void setAddress(String address) {
	this.address = address;
}

/**
 *  This method obtain the capacity.
 *
 * @return capacity
 */
public int getCapacity() {
	return capacity;
}

/**
 *  This method changes the capacity.
 *
 * @param capacity the new capacity
 */
public void setCapacity(int capacity) {
	this.capacity = capacity;
}

/**
 *  This method obtain the town.
 *
 * @return town
 */
public String getTown() {
	return town;
}

/**
 *  This method changes the town.
 *
 * @param town the new town
 */
public void setTown(String town) {
	this.town = town;
}

/**
 *  This method obtain the description.
 *
 * @return description
 */
public String getDescription() {
	return description;
}

/**
 *  This method changes the description.
 *
 * @param description the new description
 */
public void setDescription(String description) {
	this.description = description;
}

/**
 * Gets the i dplace.
 *
 * @return the iDplace
 */
public int getiDplace() {
	return iDplace;
}

/**
 * Sets the i dplace.
 *
 * @param iDplace the iDplace to set
 */
public void setiDplace(int iDplace) {
	this.iDplace = iDplace;
}

/**
 * Gets the type.
 *
 * @return the type
 */
public String getType() {
	return type;
}

/**
 * Sets the type.
 *
 * @param type the new type
 */
public void setType(String type) {
	this.type = type;
}



}
